//
//  SMoreTableViewCell.m
//  News
//
//  Created by dlios on 15-5-28.
//  Copyright (c) 2015年 PEAK. All rights reserved.
//

#import "SMoreTableViewCell.h"

@implementation SMoreTableViewCell

- (void)dealloc
{
    [_MyimageView release];
    [_MyLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.MyimageView = [[[UIImageView alloc] init] autorelease];
        [self.contentView addSubview:_MyimageView];
        self.MyLabel = [[[UILabel alloc] init] autorelease];
        _MyLabel.textColor = [UIColor blackColor];
        [self.MyimageView addSubview:_MyLabel];
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.MyimageView.frame = self.contentView.bounds;
    self.MyLabel.frame = CGRectMake(0, 0, 60, 60);
    self.MyLabel.center = self.MyimageView.center;
    [_MyLabel setFont:[UIFont systemFontOfSize:20]];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
